package com.j2eefast.flowable.bpm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 勘察公司项目质量安全监管表
 * bpm_bid_labour
 * @author: summer
 * @date 2021-06-04 21:55
 */
@Data
@TableName("bpm_testing_survey")
public class BpmTestingSurveyEntity extends BaseEntity{

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    private String id;

    /**流程实例ID*/
    @TableField(value = "process_instance_id")
    private String processInstanceId;

    /** 标题 */
    @TableField(value = "title")
    private String title;

    /** 优先级 */
    @TableField(value = "priority")
    private String priority;

//    /** 附言文本 */
//    @TableField(value = "attachment_text")
//    private String attachmentText;
//
//    /** 附言链接，废弃 */
//    @TableField(value = "attachment_url")
//    private String attachmentUrl;

    /** 流程表单ID */
    @TableField(value = "form_id")
    private String formId;



    /** 项目ID */
    @TableField(value = "project_id")
    private String projectId;

    /** 项目经理 */
    @TableField(value = "project_admin")
    private String projectAdmin; //项目经理

    /** 项目所属部门 */
    @TableField(value = "project_dept")
    private String projectDept;  //项目所属部门

    /** 项目名称 */
    @TableField(value = "project_name")
    private String projectName; //项目名称


    /** 处理意见 */
    @TableField(value = "opinion")
    private String opinion; //处理意见

    /** 状态，目前没有什么用 */
    @TableField(value = "status")
    private String status = "0";

    @TableField(value = "create_by")
    private String createBy;

    @TableField(value = "update_by")
    private String updateBy;

    @TableField(value = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date updateTime;

    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date createTime;

    /** 备注 */
    @TableField(value = "remark")
    private String remark;

    /** 所有者ID */
    @TableField(value = "user_id")
    private String userId;

    @TableField(exist = false)
    private String formName;

    @TableField(value = "model_key")
    private String modelKey;

    @TableField(value = "type")
    private String type;

    /** 发起部门 */
    @TableField(value = "department")
    private String department;
//    /** 合同甲方 */
//    @TableField(value = "department_party")
//    private String departmentParty;
//    /** 建设单位 */
//    @TableField(value = "build_unit")
//    private String buildUnit;
//    /** 合同内容 */
//    @TableField(value = "contract_content")
//    private String contractContent;
//    /** 合同编号 */
//    @TableField(value = "contract_code")
//    private String contractCode;
//    /** 合同附件 */
//    @TableField(value = "contract_url")
//    private String contractUrl;
//    /** 合同状态 */
//    @TableField(value = "project_status")
//    private String projectStatus;

//    /** 项目地址 */
//    @TableField(value = "address")
//    private String address;
    /** 发起人 */
    @TableField(value = "launch_name")
    private String launchName;

    /** 发起人部门 */
    @TableField(value = "launch_department")
    private String launchDepartment;
//
//    /** 合作单位 */
//    @TableField(value = "cooperation_unit")
//    private String cooperationUnit;
//    /** 合同额 */
//    @TableField(value = "contract_amount")
//    private String contractAmount;
    /** 工程信息概况表 */
    @TableField(value = "overview_url")
    private String overviewUrl;
    /** 现场照片 */
    @TableField(value = "scene_imgurl")
    private String sceneImgurl;
    /** 工程信息概况表 */
    @TableField(value = "overview_name")
    private String overviewName;
    /** 现场照片 */
    @TableField(value = "scene_img")
    private String sceneImg;
    /** 原始资料 */
    @TableField(value = "sources")
    private String sources;
    /** 现场定位 */
    @TableField(value = "scene_location")
    private String sceneLocation;
    /** 现场定位 */
    @TableField(value = "previous_info")
    private String previousInfo;
    /** 现场定位 */
    @TableField(value = "scene_data")
    private String sceneData;
    /** 现场定位 */
    @TableField(value = "constructionz_process")
    private String constructionzProcess;
    /** 现场定位 */
    @TableField(value = "office_report")
    private String officeReport;

//    /** 合同状态 */
//    @TableField(value = "contract_remarks")
//    private String contract_remarks;






}
